#!/usr/bin/env python
# @author   FAN Kai (fankai@net.pku.edu.cn), Peking University  
# @date     Jan 31 22:10:50 CST 2010


import cgi, os, cgitb, time

from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db

class TestHandler(webapp.RequestHandler):
    def get(self):
        self.responce.headers['Content-Type']='text/plain'
        self.responce.out.write('fuck the world!')

app = webapp.WSGIApplication([('/test', TestHandler)], debug=True)

def main():
    run_wsgi_app(app)

if __name__ == "__main__":
    main()

